| Package | Description |
|---|---|
| negotiator.protocol.alternatingoffers |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.ArrayList<AlternatingOffersProtocol> |
AlternatingOffersProtocol.allParameterCombis(Tournament tournament,
AgentRepItem agentA,
AgentRepItem agentB,
ProfileRepItem profileA,
ProfileRepItem profileB)
This is a recursive function that iterates over all *parameters* and tries all values for each,
recursively calling itself to iterate over the remaining parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
AlternatingOffersProtocol.allParameterCombis(Tournament tournament,
java.util.ArrayList<AssignedParameterVariable> allparameters,
java.util.ArrayList<AlternatingOffersProtocol> sessions,
ProfileRepItem profileA,
ProfileRepItem profileB,
AgentRepItem agentA,
AgentRepItem agentB,
java.util.ArrayList<AssignedParamValue> chosenvalues)
adds all permutations of all NegotiationSessions to the given sessions array.
|